/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package kom;

/**
 *
 * @author Veigar, tiny master of evil !
 */
public enum BlockType {

    STONE(2, 2),
    DIRT(0, 1),
    AIR(1, 0);
    private int id;
    // priority tells us witch tile should draw borders inside who
    private int priority;

    BlockType(int id) {
        this.id = id;
    }

    BlockType(int id, int priority) {
        this.id = id;
        this.priority = priority;
    }

    public int getId() {
        return this.id;
    }

    public int getPriorioty() {
        return this.priority;
    }
}
